mergedString = ""
File.open($buildfile, File::RDONLY).each { |line|
  mergedString += File.read(line.chomp)
}

outputFile = File.new($outputfile, "w")
outputFile.write(mergedString)

version = "Gimme v2.0.0.5 (Caspian) :: "
n = Time.now
buildTime = n.month().to_s + "/" + n.day().to_s + "/" + n.year().to_s + ", " + n.hour().to_s + ":" + n.min().to_s + ":" + n.sec().to_s

outputFile.write("Gimme.ver='" + version + buildTime + "';")

outputFile.close